package io.renren.modules.task.enums;

/**
 * @Author: CaiXiang
 * @Date: 2019/4/26 13:42
 * @Version 1.0
 * @Description:
 */
public enum MtCcEnum implements CodeEnum {
    USING(0, "正在使用"),
    FREE(1, "空闲"),
    CALLMATERIAL(0, "呼叫物料"),
    PRODUCTWAREHOUSING(1, "成品入库"),
    ORDINGSUCCESS(1, "下单成功"),
    EMPTYCARWAREHOUSING(2, "空车回库"),
    TASKTYPE00(0, "等待要第一种物料"),
    TASKTYPE01(1, "放料完成到下一个区域"),
    TASKTYPE02(2, "等第二种物料"),
    TASKTYPE03(3, "运输到操作区"),
    TASKTYPE04(4, "放料完成"),
    TASKTYPE10(0, "等待接受货物到仓库"),
    TASKTYPE11(0, "运输成品到库区"),
    TASKTYPE12(0, "放货完成到空车位"),
    TASKTYPE13(0, "接受空车到操作台"),
    TASKTYPE14(0, "完成成品入库"),
    TASKTYPE20(0, "等待接受空车回库"),
    TASKTYPE21(0, "运输空车到货物"),
    TASKTYPE22(0, "放空车完成"),
    VERSION1(1, "版本1"),
    VERSION2(2, "版本2"),
    VERSION3(3, "版本3"),
    VERSION4(4, "版本4"),
    VERSION5(5, "版本5"),
    ENDPRODUCT_SUCCESS_POSITION(0,"成品入库位置点--有空位"),
    ENDPRODUCT_FAILE_POSITION(1,"成品入库位置点--无空位"),
    ;

    private Integer code;
    private String msg;

    MtCcEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
